﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true"
    CodeBehind="ProductEdit.aspx.cs" Inherits="Maticsoft.Web.Admin.Shopping.ProductEdit" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
    #needset span{color:Red;}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#111111"
        style="border-collapse: collapse">
        <tr>
            <td width="100%" height="20" valign="top">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td height="30">
                            <img height="14" src="../images/book1.gif" width="20">&nbsp;产品管理&nbsp;&gt;&gt;&nbsp;添加/修改产品
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td width="100%" height="1" background="../images/sp_bg.gif">
            </td>
        </tr>
    </table>
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td height="10">
            </td>
        </tr>
    </table>
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td height="95" align="center" bgcolor="#FFFFFF">
                <table width="100%" border="0" id="needset" cellspacing="0" cellpadding="0" style="text-align: left;
                    border: 1px solid #cfcfcf; background: #ffffff;">
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            分类：
                        </td>
                        <td class='bline'>
                            <asp:DropDownList ID="ddlType" runat="server">
                            </asp:DropDownList>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="分类不能为空"
                                ControlToValidate="ddlType" Display="Dynamic"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            编号：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtProductNo" runat="server" Width="100px"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                ID="RequiredFieldValidator11" runat="server" ErrorMessage="编号不能为空" ControlToValidate="txtProductNo"
                                Display="Dynamic"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            厂家编号：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtFactoryNo" runat="server" Width="100px"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                ID="RequiredFieldValidator17" runat="server" ErrorMessage="厂家编号不能为空" ControlToValidate="txtFactoryNo"
                                Display="Dynamic"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            产品名称：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtProductName" runat="server" Width="400px"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                ID="RequiredFieldValidator1" runat="server" ErrorMessage="产品名不能为空" ControlToValidate="txtProductName"
                                Display="Dynamic"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            规格：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtLayout" runat="server" Width="200px"></asp:TextBox>&nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            尺寸：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtSize" runat="server" Width="200px"></asp:TextBox>&nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            市场价格：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtMarketPrice" runat="server" Width="50px"></asp:TextBox>元&nbsp;<asp:RequiredFieldValidator
                                ID="RequiredFieldValidator3" runat="server" ErrorMessage="市场价格不能为空" ControlToValidate="txtMarketPrice"
                                Display="Dynamic"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator1"
                                    runat="server" ControlToValidate="txtMarketPrice" ErrorMessage="输入格式错误，例：1.00" Display="Dynamic"
                                    ValidationExpression="^[0-9]+([.]{1}[0-9]+){0,1}"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            销售价格：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtSalePrice" runat="server" Width="50px"></asp:TextBox>元&nbsp;<asp:RequiredFieldValidator
                                ID="RequiredFieldValidator4" runat="server" ErrorMessage="销售价格不能为空" ControlToValidate="txtSalePrice"
                                Display="Dynamic"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator2"
                                    runat="server" ControlToValidate="txtSalePrice" ErrorMessage="输入格式错误,例：1.0" Display="Dynamic"
                                    ValidationExpression="^[0-9]+([.]{1}[0-9]+){0,1}"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            产地：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtPulisher" runat="server" Width="50px" Text=""></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                ID="RequiredFieldValidator7" runat="server" ErrorMessage="产地不能为空" ControlToValidate="txtPulisher"
                                Display="Dynamic"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            仓库：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtStorer" runat="server" Width="50px" Text=""></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                ID="RequiredFieldValidator8" runat="server" ErrorMessage="仓库不能为空" ControlToValidate="txtStorer"
                                Display="Dynamic"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            运费描述：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtShipFeeDesc" runat="server" Width="50px" Text=""></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            运费：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtShipFee" runat="server" Width="50px" Text="0"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                ID="RequiredFieldValidator10" runat="server" ErrorMessage="运费不能为空" ControlToValidate="txtShipFee"
                                Display="Dynamic"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator5"
                                    runat="server" ErrorMessage="运费格式错误" ControlToValidate="txtShipFee" Display="Dynamic"
                                    ValidationExpression="^[0-9]+([.]{1}[0-9]+){0,1}"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            保险费：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtInsureFee" runat="server" Width="50px" Text="0"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                ID="RequiredFieldValidator5" runat="server" ErrorMessage="保险费不能为空" ControlToValidate="txtInsureFee"
                                Display="Dynamic"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator3"
                                    runat="server" ErrorMessage="保险费格式错误" ControlToValidate="txtInsureFee" Display="Dynamic"
                                    ValidationExpression="^[0-9]+([.]{1}[0-9]+){0,1}"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            税费：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtTaxFee" runat="server" Width="50px" Text="0"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                ID="RequiredFieldValidator6" runat="server" ErrorMessage="税费不能为空" ControlToValidate="txtTaxFee"
                                Display="Dynamic"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator4"
                                    runat="server" ErrorMessage="税费格式错误" ControlToValidate="txtTaxFee" Display="Dynamic"
                                    ValidationExpression="^[0-9]+([.]{1}[0-9]+){0,1}"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            商品重量：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtWeight" runat="server" Width="50px" Text="0"></asp:TextBox>克&nbsp;<asp:RequiredFieldValidator
                                ID="RequiredFieldValidator16" runat="server" ErrorMessage="毛重不能为空" ControlToValidate="txtWeight"
                                Display="Dynamic"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator10"
                                    runat="server" ErrorMessage="毛重格式错误" ControlToValidate="txtWeight" Display="Dynamic"
                                    ValidationExpression="^[0-9]+([.]{1}[0-9]+){0,1}"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            排序：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtOrderNo" runat="server" Width="50px" Text="0"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                ID="RequiredFieldValidator12" runat="server" ErrorMessage="排序不能为空" ControlToValidate="txtOrderNo"
                                Display="Dynamic"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator6"
                                    runat="server" ErrorMessage="排序格式错误" ControlToValidate="txtOrderNo" Display="Dynamic"
                                    ValidationExpression="^[0-9]+$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            库存：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtStoreNum" runat="server" Width="50px" Text="0"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                ID="RequiredFieldValidator13" runat="server" ErrorMessage="库存不能为空" ControlToValidate="txtStoreNum"
                                Display="Dynamic"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator7"
                                    runat="server" ErrorMessage="库存格式错误" ControlToValidate="txtStoreNum" Display="Dynamic"
                                    ValidationExpression="^[0-9]+$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            限购数量：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtMaxNum" runat="server" Width="50px" Text="0"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                ID="RequiredFieldValidator14" runat="server" ErrorMessage="限购数量不能为空" ControlToValidate="txtMaxNum"
                                Display="Dynamic"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator8"
                                    runat="server" ErrorMessage="限购数量格式错误" ControlToValidate="txtMaxNum" Display="Dynamic"
                                    ValidationExpression="^[0-9]+$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            起购数量：
                        </td>
                        <td class='bline'>
                            <asp:TextBox ID="txtMinNum" runat="server" Width="50px" Text="0"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                ID="RequiredFieldValidator15" runat="server" ErrorMessage="起购数量不能为空" ControlToValidate="txtMinNum"
                                Display="Dynamic"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator9"
                                    runat="server" ErrorMessage="起购数量格式错误" ControlToValidate="txtMinNum" Display="Dynamic"
                                    ValidationExpression="^[0-9]+$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            简介：
                        </td>
                        <td class='bline'>
                            <FCKeditorV2:FCKeditor ID="FCKeditor1" ToolbarSet="Basic1" runat="server">
                            </FCKeditorV2:FCKeditor>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            PC详情：
                        </td>
                        <td class='bline'>
                            <FCKeditorV2:FCKeditor ID="FCKeditor2" ToolbarSet="Basic" runat="server">
                            </FCKeditorV2:FCKeditor>
                        </td>
                    </tr>
                    <tr>
                        <td width="150" class='bline' height="26" style="padding-left: 10px;">
                            Wap详情：
                        </td>
                        <td class='bline'>
                            <FCKeditorV2:FCKeditor ID="FCKeditor3" ToolbarSet="Basic" runat="server">
                            </FCKeditorV2:FCKeditor>
                        </td>
                    </tr>
                    <tr>
                        <td class='bline' height="26" style="padding-left: 10px;">
                            上传图片：
                        </td>
                        <td class='bline'>
                            <input id="File1" type="file" runat="server" style="height: 25px; width: 210px;" />
                        </td>
                    </tr>
                    <tr>
                        <td class='bline' height="26" style="padding-left: 10px;">
                            图片：
                        </td>
                        <td class='bline'>
                            <asp:Image ID="Image1" runat="server" ImageUrl="~/admin/images/booknopic.gif" Width="60px"
                                Height="80px" />
                        </td>
                    </tr>
                    <tr>
                        <td class='bline' height="26" style="padding-left: 10px;">
                            参数：
                        </td>
                        <td class='bline'>
                            <input id="cbHot" type="checkbox" value="1" class="np" runat="server" />热门
                            <input id="cbGood" type="checkbox" value="1" class="np" runat="server" />推荐
                            <input id="cbHotSale" type="checkbox" value="1" class="np" runat="server" />畅销
                        </td>
                    </tr>
                    <tr>
                        <td class='bline' height="26" style="padding-left: 10px;">
                            &nbsp;
                        </td>
                        <td class='bline'>
                            <input id="cbTop" type="checkbox" value="1" class="np" runat="server" />首页展示
                        </td>
                    </tr>
                </table>
                <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F9FCEF"
                    style="border: 1px solid #cfcfcf; border-top: none;">
                    <tr>
                        <td width="1%" height="35">
                        </td>
                        <td width="99%" valign="bottom">
                            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="../images/button_ok.gif"
                                class="np" OnClick="ImageButton1_Click" />
                            &nbsp;&nbsp;<a href="ProductList.aspx"><img src="../images/button_back.gif" width="60"
                                height="22" border="0" /></a>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
